package com.ruoyi.wm.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医疗器械库存清算对象 wm_apparatus_inventory
 * 
 * @author hpf
 * @date 2021-11-28
 */
public class WmApparatusInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 品名 */
    @Excel(name = "品名")
    private String name;

    /** 规格 */
    @Excel(name = "规格")
    private String form;

    /** 剂量单位 */
    @Excel(name = "剂量单位")
    private String unit;

    /** 时间 */
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 摘要 */
    @Excel(name = "摘要")
    private String abs;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Long inStorageNum;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal inPrice;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal inTotalPrice;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private Long outStorageNum;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal outPrice;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal outTotalPrice;

    /** 结存数量 */
    @Excel(name = "结存数量")
    private Long remainNum;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal remianPrice;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal remainTotalPrice;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setForm(String form) 
    {
        this.form = form;
    }

    public String getForm() 
    {
        return form;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setAbs(String abs) 
    {
        this.abs = abs;
    }

    public String getAbs() 
    {
        return abs;
    }
    public void setInStorageNum(Long inStorageNum) 
    {
        this.inStorageNum = inStorageNum;
    }

    public Long getInStorageNum() 
    {
        return inStorageNum;
    }
    public void setInPrice(BigDecimal inPrice) 
    {
        this.inPrice = inPrice;
    }

    public BigDecimal getInPrice() 
    {
        return inPrice;
    }
    public void setInTotalPrice(BigDecimal inTotalPrice) 
    {
        this.inTotalPrice = inTotalPrice;
    }

    public BigDecimal getInTotalPrice() 
    {
        return inTotalPrice;
    }
    public void setOutStorageNum(Long outStorageNum) 
    {
        this.outStorageNum = outStorageNum;
    }

    public Long getOutStorageNum() 
    {
        return outStorageNum;
    }
    public void setOutPrice(BigDecimal outPrice) 
    {
        this.outPrice = outPrice;
    }

    public BigDecimal getOutPrice() 
    {
        return outPrice;
    }
    public void setOutTotalPrice(BigDecimal outTotalPrice) 
    {
        this.outTotalPrice = outTotalPrice;
    }

    public BigDecimal getOutTotalPrice() 
    {
        return outTotalPrice;
    }
    public void setRemainNum(Long remainNum) 
    {
        this.remainNum = remainNum;
    }

    public Long getRemainNum() 
    {
        return remainNum;
    }
    public void setRemianPrice(BigDecimal remianPrice) 
    {
        this.remianPrice = remianPrice;
    }

    public BigDecimal getRemianPrice() 
    {
        return remianPrice;
    }
    public void setRemainTotalPrice(BigDecimal remainTotalPrice) 
    {
        this.remainTotalPrice = remainTotalPrice;
    }

    public BigDecimal getRemainTotalPrice() 
    {
        return remainTotalPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("form", getForm())
            .append("unit", getUnit())
            .append("time", getTime())
            .append("abs", getAbs())
            .append("inStorageNum", getInStorageNum())
            .append("inPrice", getInPrice())
            .append("inTotalPrice", getInTotalPrice())
            .append("outStorageNum", getOutStorageNum())
            .append("outPrice", getOutPrice())
            .append("outTotalPrice", getOutTotalPrice())
            .append("remainNum", getRemainNum())
            .append("remianPrice", getRemianPrice())
            .append("remainTotalPrice", getRemainTotalPrice())
            .toString();
    }
}
